package com.zsoft.domain;

import java.util.Date;

/**
 * 用户信息类
 * @author zuoshuaiok@gmail.com
 * local-search
 * 2013-4-8
 */
public class UserInfoDomain {

	private Long id;
	private String username;
	private String password;
	// 所属角色
	private Long roleId;
	private Date gmtCreate;

	private Date gmtUpdate;

	// 0 正常 1-禁用
	private Integer isValid;

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public Date getGmtUpdate() {
		return gmtUpdate;
	}

	public Long getId() {
		return id;
	}

	public Integer getIsValid() {
		return isValid;
	}

	public String getPassword() {
		return password;
	}

	public String getUsername() {
		return username;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public void setGmtUpdate(Date gmtUpdate) {
		this.gmtUpdate = gmtUpdate;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setIsValid(Integer isValid) {
		this.isValid = isValid;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
